 package com.cxl.pattern.visitor;
 
 import java.util.ArrayList;
 import java.util.List;
 /* Location:           E:\work\eclipse3.6_\workspace\design_pattern\
 * Qualified Name:     com.cxl.pattern.visitor.ObjectStructure
 * JD-Core Version:    0.6.1
 */
 public class ObjectStructure
 {
   private List<Node> nodes = new ArrayList();
 
   public void action(Visitor visitor)
   {
     for (Node node : this.nodes)
     {
       node.accept(visitor);
     }
   }
 
   public void add(Node node)
   {
     this.nodes.add(node);
   }
 }

